﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLTTTH.Entity
{
    class HopDong
    {
        #region field
        private string _maHD;
        private string _tenHD;
        private DateTime _ngayKy;
        private DateTime _ngayHetHan;
        private string _maCT;
        private string _maNSX;
        private string _maNV;
        #endregion

        #region contruction
        public HopDong()
        {
            MaHD = null;
            TenHD = null;
            NgayKy = new DateTime();
            NgayHetHan = new DateTime();
            MaCT = null;
            MaNSX = null;
            MaNV = null;
        }
        #endregion

        #region properties
        public string MaHD
        {
            get { return _maHD; }
            set { _maHD = value; }
        }
        
        public string TenHD
        {
            get { return _tenHD; }
            set { _tenHD = value; }
        }
        
        public DateTime NgayKy
        {
            get { return _ngayKy; }
            set { _ngayKy = value; }
        }
        
        public DateTime NgayHetHan
        {
            get { return _ngayHetHan; }
            set { _ngayHetHan = value; }
        }
        
        public string MaCT
        {
            get { return _maCT; }
            set { _maCT = value; }
        }
        
        public string MaNSX
        {
            get { return _maNSX; }
            set { _maNSX = value; }
        }
        
        public string MaNV
        {
            get { return _maNV; }
            set { _maNV = value; }
        }
        #endregion
    }
}
